use std::thread;
use std::time::Duration;

macro_rules! my_println {
    () => {
        println!("macro, my println!");
    };
    ($val:expr) => {
        println!("Look at this other macro: {}", $val);
    };
    ($($x:expr),*) => {
        $(println!("{}",$x);)* 
    };
}
fn main() {
    my_println!();
    my_println!(5);
    my_println!(1, 2);
    thread::sleep(Duration::from_secs(5));
}